<div class="nav-wrapper" ng-style="theme" data-ng-controller="EdNavCtrl">
  <ul id="nav"
      class="nav"
      data-slim-scroll
      style="margin-top: 10px"
      data-collapse-nav>
    <li id="{{menu.id}}" ng-repeat="menu in menus" class="nav-menu" ng-style="customMenu">
      <a  href="javascript:void(0)" ng-click="clickMenu($event,menu)" ng-style="fontColor">
        <i class="fa "><img ng-src="{{sys_backend+menu.icon}}" alt="" style="width: 15px"></i><span >{{menu.name}}</span>
        <i class="fa pull-right fa-caret-square-o-right" style="line-height: 19px" ng-class="{true:'fa-caret-square-o-down',false:'fa-caret-square-o-right'}[!menu.isOpen]"></i>
      </a>
      <ul style="background: white;padding: 10px" ng-if="menu.subMenus.length > 0">
        <li ng-repeat="subMenu in menu.subMenus">
          <!--data-nav-title="child"-->
          <a class="custom-Menu" href="javascript:void(0)" ng-click="clickMenu($event,subMenu)" style="color: #444;">
            <i class="fa"><img ng-src="{{sys_backend+subMenu.icon}}" alt="" style="height: 20px;padding: 3.5px"></i><span style="display: inline-block;height: 20px;line-height: 20px">{{subMenu.name}}</span>
          </a>
        </li>
      </ul>
    </li>
    <li>
      <a class="nav-menu" href="javascript:void(0)" ng-style="customMenu" ng-click="logout()">
        <i class="fa fa-power-off"></i><span >退出</span>
      </a>
    </li>
  </ul>
</div>
